<?php $post = $this->get('post');?>
<div class="x-list-title">
<table height="100%" width="100%" border="0" cellpadding="0">
<tr><td>
<h2><?php _e($post['title'])?></h2>
</td><td align="right">
<div class="x-list-options">
	<div class="x-options-container">
		<a class="x-button">Tác vụ khác <span>&#9660;</span></a>
		<div class="x-options">
			<a class="x-options-item" href="#Contact?type=person">Liên hệ cá nhân</a>
			<a class="x-options-item" href="#Contact?type=company">Liên hệ công ty</a>
			<a class="x-options-item" onclick="load_inframe('<?php _baseUrl();?>/Contact/Index/Label',{title: 'Quản lý nhãn liên hệ', css_content: 'width:420px;height:300px;overflow:auto;max-height:300px' })">Quản lý nhãn</a>			
			<a href="#Contact/Index/Addperson" class="x-options-item">Thêm liên hệ cá nhân</a>
			<a href="#Contact/Index/Addcompany" class="x-options-item">Thêm liên hệ công ty</a>
		</div>
	</div>
</div>
</td></tr></table>
</div>
<table width="100%" border="0" class="x-info" cellspacing="0">
<tr>
	<td colspan="5" align="right" class="x-info-top">
		<span class="tl">Chi tiết danh bạ</span>
		<span class="tr">Cập nhật và chia sẻ lúc <?php _e( show_date(DATETIME_FORMAT,$post['date_updated']) );?> bởi <?php _e(get_user_link( $post['updated_by_id'],$post['updated_by_name'],$post['updated_is_deleted']) );?></a></span>
	</td>
</tr>
<tr>
	<td rowspan="4" valign="top">
		<img style="width:120px" src="<?php _baseUrl()?>/files/personnel/<?php _e($post['photo'] ? $post['photo'] : 'nologo.gif');?>"/>
	</td>
</tr>
<tr>
	<td class="x-info-label" nowrap="nowrap">
		Họ tên
	</td>
	<td class="x-info-content">
		<?php _e( $post['name'] );?>
	</td>
	<td class="x-info-label" nowrap="nowrap">
		Điện thoại
	</td>
	<td class="x-info-content">
		<?php _e( $post['phone'] );?>
	</td>
</tr>
<tr>
	<td class="x-info-label" nowrap="nowrap">
		Phòng ban
	</td>
	<td class="x-info-content">
		<?php _e( $post['department_title'] );?>
	</td>
	<td class="x-info-label" nowrap="nowrap">
		Chức vụ
	</td>
	<td class="x-info-content">
		<?php _e( $post['job_title'] );?>
	</td>
</tr><tr>
	<td class="x-info-label" nowrap="nowrap">
		Địa chỉ
	</td>
	<td class="x-info-content">
		<?php _e( $post['address'] );?>
	</td>	
	<td class="x-info-label" nowrap="nowrap">
		Email
	</td>
	<td class="x-info-content">
		<?php _e( $post['email'] );?>
	</td>
</tr>
</table>